/* 公共样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body {
    height: 100%;
    background-image: url("../image/章若楠.jpg");
    background-repeat: no-repeat; /*不平铺*/
    background-position: center ;  /*垂直水平居中*/
    background-size:cover;
}

.nav {
    height: 50px;
    background-color: rgba(50,50,50);
    color: white;
    line-height: 50px;
    padding-left: 45%;
}

.container {
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    align-items: center;  /*垂直居中*/
    justify-content: center;  /*水平居中*/
}